public class HelloUniverse
{
    //Prints a simple string "Hello Universe!!!"
    public void printHelloUniverse()
    {
	System.out.println("Hello Universe!!!");
    }

    //Prints a custom string passed from Python
    public void printCustomString(String str)
    {
	System.out.println(str);
    }

    //Prints all elements of the array passed from the Python
    public void passArrayOfIntegers(int[] array)
    {
	for (int i = 0; i < array.length; i++)
	    System.out.println ("array[" + i + "] = " + array[i]);
    }

    //Returns an array of floats to the Python
    public float[] getArrayOfFloats()
    {
	float[] res = {2.43f, 835.34536f, 2456.234f, -234.213f};
	return res;
    }

    //Gets an integer value, converts it to the string and returns
    //back to the Python
    public String getIntAsString(int i)
    {
	String s = String.valueOf(i);
	return s;
    }

    //Takes float and integer arguments, adds them and returns sum as float
    public float sumOfFloatAndInt_AsFloat(float fl, int i)
    {
	System.out.println("float: " + fl);
	System.out.println("integer: " + i);
	return (float) (fl+i);
    }

    //Takes a long number as argument and prints information about size of types
    //in C++, Python and Java
    public void passLong(long l)
    {
	System.out.println("Maximal value of Java long is:     " + Long.MAX_VALUE);
	System.out.println("Maximal value of C++ long long is: 9223372036854775807");
	System.out.println("Value passed from Python as long:  " + l);
    }
}

